/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package htmlparser;

/**
 *
 * @author peto
 */
public class HtmlParserException extends Exception{
    
    /**
    *  Constructs a new exception with the specified detail message.
    */
    public HtmlParserException(String message){
        super("An error occurred: " + message);
    }
    
    /**
     *   Constructs a new exception with the specified detail message and cause.
     */
    public HtmlParserException(String message, Throwable cause){
        super(message, cause);
    }
    
    /**
     *     Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
     */
    public HtmlParserException(Throwable cause){
        super(cause);
    }
}
